import re


def is_tel_or_mobile(text: str) -> str:
    reg_phonenumber = re.compile(r"^1[3456789]\d{9}|0((\d{3})|\d{3}-|\d{2}|\d{2}-)?\d{7,8}$")
    isTelOrMobile = reg_phonenumber.match(text)
    return isTelOrMobile is not None and len(text) == len(isTelOrMobile.group())


def is_mobile(text: str) -> bool:
    """校验手机号"""
    reg_phonenumber = re.compile(r'^1[3-9]\d{9}$')
    match = reg_phonenumber.match(text)
    return match is not None and len(text) == len(match.group())


def is_wechat_account(text: str) -> bool:
    """校验微信号"""
    reg_wechat_account = re.compile(r'^[a-zA-Z0-9_-]{7,20}$')
    match = reg_wechat_account.match(text)
    return match is not None and len(text) == len(match.group())
